package summer_vacation.qiuyangyang;
import java.util.Scanner;
/**
 * Created by Administrator on 2015/8/26 0026.
 */
public class Assignment_07 {
    public static void main(String[] args) {
        System.out.println("请输入一个数：");
        Scanner input=new Scanner(System.in);
        int a=input.nextInt();
        for(int i=1;i<=a;i++){
            if(a%i==0){
                System.out.println(i+"");
            }
        }

    }
}
